﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models
{
    /// <summary>
    /// 亲子任务
    /// </summary>
    public class ParentChildTasks : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 任务简介
        /// </summary>
        public string? TaskIntroduction { get; set; }

        /// <summary>
        /// 班级id
        /// </summary>
        public Guid ClassId { get; set; }

        /// <summary>
        /// 打卡天数
        /// </summary>
        public int ClockInDays { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 每日打卡截止时间
        /// </summary>
        public string? DailyClockInDeadline { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public ParentChildTasksState State { get; set; }

        /// <summary>
        /// 内容图片
        /// </summary>
        public List<ParentChildTasksImage>? Images = null;

        /// <summary>
        /// 亲子任务完成记录
        /// </summary>
        public List<ParentChildTasksRecord>? RecodeList = null;


    }
}
